package com.sgcc.fj.pmos.e_fj_mall.contract;

import com.sgcc.fj.pmos.common.base.IView;
import com.sgcc.fj.pmos.common.bean.BaseResponse;
import com.sgcc.fj.pmos.e_fj_mall.bean.MonthEnergyBean;
import com.sgcc.fj.pmos.e_fj_mall.bean.StoreHomeBean;
import com.sgcc.fj.pmos.e_fj_mall.bean.StoreYearBean;

public class StoreHomePageContract {
    public interface View extends IView {
        void querySuccess(StoreHomeBean response);

        void queryFailed();

        void addCollectionSuccess(BaseResponse response);

        void addCollectionFailed();

        void delCollectionSuccess(BaseResponse response);

        void delCollectionFailed();

        void queryMonthEnergySuccess(MonthEnergyBean response);

        void queryYearSuccess(StoreYearBean response);
    }

    public interface Presenter {
        void getStoreDetails(String membersSdId);

        void addUserPackageCollection(String membersUserName, String membersSdId, String membersSdName);

        void deletePackageById(String membersSdId);

        void queryMonthEnergy(String membersSdId,String ym);

        void queryYear(String membersSdId,String year);
    }
}